<?php 
/**create by fu */

namespace app\api\controller;

use think\Controller;
use app\api\service\Token as TokenService;
/**
 * 
 */
class BaseController extends Controller
{
	// 需要用户和CMS管理员
    protected function checkPrimaryScope()
    {
    	TokenService::needPrimaryScope();
    }

    // 需要用户 可以访问的权限
    protected function checkExclusiveScope()
    {
    	TokenService::needExclusiveScope();
    }
}



 ?>